package com.hmall.search.service;

import com.hmall.common.domain.PageDTO;
import com.hmall.search.domain.po.ItemDoc;
import com.hmall.search.domain.query.ItemPageQuery;

import java.util.List;

/**
 * @author zzw
 * @date 2025/6/25
 * @description 搜索服务接口
 */
public interface ISearchService {
    PageDTO<ItemDoc> search(ItemPageQuery query);

    List<String> searchSuggestion(String key);
}
